package com.neuedu.service;

import com.neuedu.pojo.Familymember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.pojo.Result;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【familymember(家庭成员信息表)】的数据库操作Service
 * @createDate 2025-06-17 09:04:08
 */
public interface FamilymemberService extends IService<Familymember> {

    Result<Familymember> getFamilymemberById(Integer id);

    Result<List<Familymember>> getFamilymember(Integer currentPage, Integer pageSize);

    Result<Void> addFamilymember(Familymember familymember);

    Result<Void> updateFamilymember(Familymember familymember);

    Result<Void> deleteFamilymember(Integer id);
}
